/*
 * Copyright (c) 2007-2021 西安交通信息投资营运有限公司 版权所有
 */

package com.xci.xajtfb.bus.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.github.lvyanyang.core.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 站点信息
 * @author 张谦 765870682@qq.com
 * @since 2021-03-11 9:50:00
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "站点信息")
public class StationInfo extends BaseEntity {
    /**
     * 站点id
     */
    @Excel(name = "站点id", width = 20d)
    @ApiModelProperty(value = "站点id", required = true, position = 1)
    private Integer stationId;

    /**
     * 站点名称
     */
    @Excel(name = "站点名称", width = 20d)
    @ApiModelProperty(value = "站点名称", position = 2)
    private String stationName;

    /**
     * 具体位置
     */
    @Excel(name = "具体位置", width = 20d)
    @ApiModelProperty(value = "具体位置", position = 2)
    private String location;

    /**
     * 经度
     */
    @Excel(name = "经度", width = 20d)
    @ApiModelProperty(value = "经度", position = 3)
    private String longitude;

    /**
     * 纬度
     */
    @Excel(name = "纬度", width = 20d)
    @ApiModelProperty(value = "纬度", position = 4)
    private String latitude;

    /**
     * 距离
     */
    @Excel(name = "距离", width = 20d)
    @ApiModelProperty(value = "距离", position = 5)
    private Double distance;

    /**
     * 站点所关联的线路信息
     */
    @ApiModelProperty(value = "站点所关联的线路信息", position = 6)
    private List<TbPassStation> tbPassStationList;

}